-
Notifications
You must be signed in to change notification settings - Fork 222
Add DnD tests issue #3182 #3195
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hopefully it's possible to use IWorkbenchWindow and IWorkbenchPage instead of non-API implementation classes.
In general, please keep the PR to a single commit. Using amend and force push for that purpose rather than keep adding commits.
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>features</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
</buildSpec> | ||
<natures> | ||
</natures> | ||
</projectDescription> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding a .project file here is not needed and not desired.
/******************************************************************************* | ||
* Copyright (c) 2004, 2005 IBM Corporation and others. | ||
* | ||
* This program and the accompanying materials | ||
* are made available under the terms of the Eclipse Public License 2.0 | ||
* which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-2.0/ | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* IBM Corporation - initial API and implementation | ||
*******************************************************************************/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess you copied this from somewhere.
@@ -0,0 +1,26 @@ | |||
package org.eclipse.ui.tests.dnd; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Every java file needs a "standard" copyright header.
|
||
IEditorPart editor1, editor2, editor3; | ||
|
||
static WorkbenchWindow window; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be an IWorkbenchWindow? Should any of these things really be static?
IEditorPart editor1, editor2, editor3; | ||
|
||
static WorkbenchWindow window; | ||
static WorkbenchPage page; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this be an IWorkbenchPage?
continue; | ||
} | ||
|
||
DragTest newTest = new DragTest(dragSource, dropTarget); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Avoid warnings.
No description provided.